package business.report.impl;

import business.report.StationOperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.StationOperation;
import report.domain.StationOperationCriteria;
import report.mapper.StationOperationMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */

@Service(value = "stationOperationService")
public class StationOperationServiceImpl implements StationOperationService{
    @Autowired
    StationOperationMapper stationOperationMapper;

    @Override
    public List<StationOperation> getStationOperation() {
        StationOperationCriteria criteria = new StationOperationCriteria();
        criteria.createCriteria().getAllCriteria();

        return stationOperationMapper.selectByExample(criteria);
    }
}
